﻿<UserControl x:Class="Portfel.Controls.MyTile"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerikCore="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Core"
             mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot" Background="{StaticResource TransparentBrush}">
        <Button x:Name="Butt" VerticalContentAlignment="Stretch" HorizontalContentAlignment="Stretch" Foreground="{StaticResource PhoneAccentBrush}" Background="{StaticResource PhoneAccentBrush}" BorderThickness="0" Padding="0" Margin="0" telerikCore:InteractionEffectManager.IsInteractionEnabled="True">
            <StackPanel Background="{StaticResource PhoneAccentBrush}">
                <Viewbox Margin="10,20,10,10">
                    <Grid>
                        <Grid  Visibility="Visible">
                        </Grid>
                        <Path x:Name="Path" Stretch="Uniform" Fill="White" Width="68" Height="68" Margin="0,0,0,0" RenderTransformOrigin="0.5,0.5">
                            <Path.RenderTransform>
                                <TransformGroup>
                                    <TransformGroup.Children>
                                        <RotateTransform Angle="0" />
                                        <ScaleTransform ScaleX="1" ScaleY="1" />
                                    </TransformGroup.Children>
                                </TransformGroup>
                            </Path.RenderTransform>
                        </Path>
                    </Grid>
                </Viewbox>
                <TextBlock   HorizontalAlignment="Stretch" Foreground="White" VerticalAlignment="Stretch" TextAlignment="Center" FontWeight="Bold"  x:Name="TextBlock"/>
            </StackPanel>
        </Button>
    </Grid>


</UserControl>